﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.Domain.Entity;
using TR.Domain.Entity.Permission;
using TR.Domain.Entity.roles;

namespace TR.Domain.Repository.rbac_UserRepository
{
    public interface Irbac_UserRepository
    {
        //根据登录名查询用户信息
        Task<rbac_User> UserSelect(string uname);
        //查询角色权限
        Task<List<rolesuser>> UserSelects();
        //权限
        Task<List<Trees>> TreesSelects();
        
    }
}
